﻿using System.ComponentModel.DataAnnotations;

namespace CommentPost
{
    public class Comment
    {
        [Required]
        public string PosterName { get; set; }

        [Required]
        public string PosterEmail { get; set; }

        [Required(ErrorMessage = "Did you like or didn't like my post?")]
        public bool? LikedPost { get; set; }
    }
}